package com.bdd.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * discount
 * @author 
 */
@ApiModel(value="generate.Discount优惠政策表")
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class Discount implements Serializable {
    private Integer id;

    /**
     * 优惠类别
     */
    @ApiModelProperty(value="优惠类别")
    private String type;

    /**
     * 优惠力度
     */
    @ApiModelProperty(value="优惠力度")
    private String discounts;

    @ApiModelProperty(value="优惠名称")
    private String name;

    @ApiModelProperty(value="开始时间")
    private Date startTime;

    @ApiModelProperty(value="结束时间")
    private Date endTime;

    @ApiModelProperty(value="是否生效")
    private Integer status;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;
}